Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODUndo


ClearActionHistory

The ClearActionHistory method clears the undo and redo stacks.

void ClearActionHistory (
                  in ODRespectMarksChoices respectMarks);
respectMarks
The possible values for clearing an action history. The value of respectMarks must be one of the following: kODRespectMarks or kODDontRespectMarks.
DISCUSSION
The value kODRespectMarks for the respectMarks parameter indicates that the stacks are cleared down only to the specified marks; that is, only actions within an action subhistory are cleared. The value kODDontRespectMarks indicates that the stacks are cleared in their entirety.

SEE ALSO
"Creating an Action Subhistory" on page 261 in OpenDoc Programmer's Guide.
"Clearing the Action History" on page 262 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help